package com.quanyan.ic.datacenter.dao.impl;

import com.quanyan.ic.datacenter.dao.PlaceUnitHandelTypeDao;
import com.quanyan.ic.datacenter.mapper.icData.PlaceUnitHandelTypeMapper;
import com.quanyan.ic.datacenter.mapper.icData.entity.PlaceUnitHandelType;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

/**
 * Created by jian.zhou on 2017/8/25.
 */
@Repository
public class PlaceUnitHandelTypeDaoImpl implements PlaceUnitHandelTypeDao {

    @Autowired
    private PlaceUnitHandelTypeMapper placeUnitHandelTypeMapper;

    public PlaceUnitHandelType findPlaceUnitHandelType(Integer id){
        if (id != null)
            return placeUnitHandelTypeMapper.selectByPrimaryKey(id);
        return null;
    }

}
